// 为couponCom\redPacketCom
.couponContainer2{
  background-color: #fff;
  overflow: hidden;
    .title{
      background-color: #fff;
      font-size: 34rpx;
      padding: 20rpx 4r0px;
      padding-bottom: 20rpx;
      border-top-left-radius: 20rpx;
      border-top-right-radius: 20rpx;
    }
    .title2{
      padding: 20rpx;
    }
    .coupnItemScroll{
      background-color: #fff;
      height: 800rpx;
      // padding-bottom: 120rpx;
      .scroll-Y {
        height: 700rpx;
        padding-bottom: 10rpx;
      }
    }
    .coupnItemBox{
      padding: 0 20rpx;
      .couponNone{
        margin-bottom: 20rpx;
      }
      .ruleBox{
        background-color: #fff;
        margin: 0 20rpx;
        transition: 200ms;
        padding: 20rpx;
        border-bottom-left-radius: 20rpx;
        border-bottom-right-radius: 20rpx;
      }
    }
    .couponItem{
      position: relative;
      // box-shadow: 1px 3px 10px #ccc;
      // background-image: url('~@/assets/images/detail/coupon_enable.png');
      &.packetItem{
        background-image: url('~@/static/images/order/packet_bg.png');
        background-size: 100% 100%;
        background-color: #fff;
        border: none;
        .quota{
          .o-b{
            color: white;
          }
        }
        .descripe{
          padding-left: 40rpx;
        }
      }
      background:rgba(255,244,248,1);
      border:1px solid rgba(255, 117, 159, 1);
      border-radius:10px;
      background-size: 100% 100%;
      padding: 20rpx 0px 30rpx 10rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 20rpx 0 0 0;
      .quota{
        color: $color-tips;
        width: 30%;
        display: flex;
        white-space: nowrap;
        word-wrap: none;
        text-overflow: ellipsis;
        overflow: hidden;
        text-align: center;
        flex-direction: column;
        .o-b{font-size:60rpx; font-weight: normal; color: $color-title;}
        .o-small{font-size: 32rpx;}
        border-right: 1px dotted #FF759F;
      }
      .descripe{
        flex: 1;
        padding: 0 20rpx;
        align-items: left;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .o-p{color: $color-title; margin-bottom: 20rpx; font-size: 32rpx;}
        .o-em{font-style: normal; font-size: 20rpx; margin-top: 10rpx; display: flex; align-items: center; }
        .o-span{font-size: 24rpx; color: $color-tips}
        image{
          width: 20rpx;
          height: 20rpx;
          margin-left: 10rpx;
        }
      }

      .coupnStateBox{
        // width: 13%;
        min-width: 13%;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .couponChecked{
          width: 40rpx;
          image {
            width: 40rpx;
            height: 40rpx;
          }
        }
      }
      .signicon{
        width: 92rpx;
        position: absolute;
        z-index: 1;
        right: 0;
        top: 0;
        transition: 200ms;
      }
      .coupnState{
        position: relative;
        z-index: 2;
        background:rgba(255,92,141,1);
        border-radius:56rpx;
        margin: 0 auto;
        width: 140rpx;
        margin-right: 10rpx;
        text-align: center;
        line-height: 46rpx;
        color: white;
        font-size: $font-size-small;
        word-wrap: break-word;
        &.checked{
          background-color: #ddd;
          color: white;
        }
      }
    }
    .unuse{
      border: none;
      background-image: none;
      background-color: #F5F5F5;
      .quota{
        border-right: 1px dotted #000;
      }
    }
    .fixed{
      background-color: $color-theme;
      height: 80rpx;
      line-height: 80rpx;
      border-radius: 40rpx;
      width: 670rpx;
      border: none;
      margin: 10rpx auto;
      .descripe2{
        font-size: 28rpx;
        color: #fff;
        width: 100%;
        text-align: center;
      }
    }
    .couponSelected{
      *{color: $color-tips}
      .quota{
        .o-b{color: #575455;}
      }
      .descripe p{color: $color-tips;}
    }

  }